Class PushNotifierHelper


  • public class PushNotifierHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.json.JSONObject getDefaultADMNotification()  
      static org.json.JSONObject getDefaultFCMNotification()  
      static org.json.JSONObject getGroupPayload​(java.lang.String operation, java.lang.String groupName, java.lang.String token)  
      static org.json.JSONObject loadJSONFromAsset​(android.content.Context context, java.lang.String fileName)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PushNotifierHelper

        public PushNotifierHelper()
    • Method Detail

      • getDefaultADMNotification

        public static org.json.JSONObject getDefaultADMNotification()
                                                             throws org.json.JSONException
        Throws:
        org.json.JSONException
      • getDefaultFCMNotification

        public static org.json.JSONObject getDefaultFCMNotification()
                                                             throws org.json.JSONException
        Throws:
        org.json.JSONException
      • getGroupPayload

        public static org.json.JSONObject getGroupPayload​(java.lang.String operation,
                                                          java.lang.String groupName,
                                                          java.lang.String token)
                                                   throws org.json.JSONException
        Throws:
        org.json.JSONException
      • loadJSONFromAsset

        public static org.json.JSONObject loadJSONFromAsset​(android.content.Context context,
                                                            java.lang.String fileName)
                                                     throws org.json.JSONException
        Throws:
        org.json.JSONException